var layer_iframe_index="";
//弹窗打开 ifame页面
function showIframe(url,title,width,height){
    if(width==undefined){
        width="750px";
    }
    if(height==undefined){
        height="90%";
    }
    layer_iframe_index=layer.open({
        type: 2,
        shadeClose:false,
        title: title,
        shade: 0.8,
        area: [width, height],
        content: url //iframe的url
    });
}
//点击提交按钮操作
function submitData(_this){
    $(_this).find("[type='submit']").html("处理中...").addClass("btn-save-loading").attr("disabled", "disabled");
    return true;
}
//关闭iframe窗口
function closeIframe($a=0){
	
    window.parent.layer.closeAll();
    if($a==1){
    	parent.location.reload();
    }
    
}
//重新加载页面
function loadPage(){
    window.location.reload();
}